Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue #228766 fix: ccAvenue: Billing Details >> Name and phone value does not get autofilled #82

Open
wants to merge 1 commit into
base: j4x
Choose a base branch
from

Conversation

vaibhavsTekdi
Copy link

No description provided.

Copy link

sonarcloud bot commented Oct 14, 2024

@@ -176,13 +176,13 @@ public function onTP_GetHTML($vars)

// Notify URL set for notify url parameter of payment gateway
$gatewaydata['notify_url'] = $vars->notify_url;
$gatewaydata['billing_name'] = $vars->userInfo['firstname'] . ' ' . $vars->userInfo['lastname'];
$gatewaydata['billing_name'] = $vars->user_firstname . ' ' . $vars->user_lastname;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vaibhavsTekdi $vars is the value we get from the extension we can add $vars->user_firstname and $vars->user_firstname from the extension itself.

If we change or remove $vars->userInfo['firstname'] it might break the backward compatibility and might stop working for other extensions

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants